package com.yunhe.abnormal.repository.base;

import com.yunhe.abnormal.domain.base.AlarmCalcType;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.stereotype.Repository;

/**
 * 异常判断类型数据仓库
 * @author liuronglei
 */
@Repository
public interface AlarmCalcTypeRepository extends Neo4jRepository<AlarmCalcType, Long> {

    /**
     * 根据编号获得异常判断类型对象
     * @param name 编号
     */
    AlarmCalcType findByName(String name);
}
